package com.coldwindblows.blog.dto;

public enum Types {
	TAG("tag"), CATEGORY("category"), ARTICLE("post"),
	PUBLISH("publish"), PAGE("page"), DRAFT("draft"),
	LINK("link"), IMAGE("image"), FILE("file"),
	CSRF_TOKEN("csrf_token"),
	/**
	 * 评论次数
	 */
	COMMENTS_FREQUENCY("comments:frequency"),
	/**
	 * 点击次数
	 */
	HITS_FREQUENCY("hits:frequency"),
	/**
	 * 附件存放的URL,默认为网站地址，如果换成第三方则为第三方CDN域名
	 */
	ATTACH_URL("attach_url"),
	/**
	 * 网站要过滤、禁止访问的ip列表
	 */
	BLOCK_IPS("site_block_ips");
	
	private String type;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	private Types(String type) {
		this.type = type;
	}
	
}
